/*
 * point.cpp
 *
 *  Created on: 13 Nis 2012
 *      Author: hframe
 */

#include "point.h"


namespace androidplus {
namespace drawing{

point::point(coor xpoint,coor  ypoint,coor zpoint):x(xpoint),y(ypoint),z(zpoint) {


}

point::~point() {

}

point::point(const point &p):x(p.x),y(p.y),z(p.z){

}



point & point::operator=(const point &p){
  this->x=p.x;
  this->y=p.y;
  this->z=p.z;
  return *this;
}

t_string point::to_string(){

	return  androidplus::to_string((t_float)x)+","+androidplus::to_string((t_float)y)+","+androidplus::to_string((t_float)z);
}

}
} /* namespace androidplus */
